package com.quectel.core.module.forum.dto.mongo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author zhangheng
 * @email nolan.zhang@quectel.com
 * @date 2023/5/8 15:52
 * @description 帖子
 */
@Data
@Schema
public class ForumAuditRecordDto implements Serializable {
    /**
     * id
     */
    @Schema(description = "id")
    private Long id;

    /**
     * 租户id
     */
    @Schema(description = "租户id")
    private Long tenantId;

    /**
     * 作者id
     */
    @Schema(description = "作者id")
    private Long mobileUserId;

    /**
     * 发布内容类型
     */
    @Schema(description = "发布内容类型")
    private Byte sourceType;

    /**
     * 发布内容Id
     */
    @Schema(description = "发布内容Id")
    private Long sourceId;

    /**
     * 审核人员
     */
    @Schema(description = "审核人员")
    private Long auditUserId;

    /**
     * 审核结果
     */
    @Schema(description = "审核结果")
    private Byte result;


    /**
     * 违规类型
     */
    @Schema(description = "违规类型")
    private List<Byte> violationTypes;

    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remark;


    /**
     * 审核日期
     */
    @Schema(description = "审核日期")
    private Date auditTime;


    /************非数据库字段 start ************/

    /**
     * 昵称
     */
    @Schema(description = "昵称")
    private String nickName;

    /**
     * 姓名
     */
    @Schema(description = "姓名")
    private String mobileUserName;

    /**
     * 手机号
     */
    @Schema(description = "手机号")
    private String mobileUserMobile;


    /**
     * 审核人员Id
     */
    @Schema(description = "审核人员Id")
    private String auditUserName;

    /**
     * 审核对象Id
     */
    @Schema(description = "审核对象Id")
    private Object sourceObj;

    /************非数据库字段 end   ************/

}
